using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using DataAccessLogic;


namespace BusinessLogic
{
    /// <summary>
    /// Summary description for BookTrackManagerBAL
    /// </summary>
    //
    public class BookTrackManager
    {
        public BookTrackManager()
        {

        }
        /// <summary>
        /// Load records from database
        /// </summary>
        /// <returns></returns>
        public DataTable Load()
        {
            Books pDAL = new Books();
            try
            {
                return pDAL.Load();
            }
            catch
            {
                throw;
            }
            finally
            {
                pDAL = null;
            }
        }
        public DataTable LoadByBookID(string bookID)
        {
            BooksTrack pDAL = new BooksTrack();
            try
            {
                return pDAL.LoadByBookID(bookID);
            }
            catch
            {
                throw;
            }
            finally
            {
                pDAL = null;
            }
        }
    }
}